package net.xju3_4.entity.vo;

import net.xju3_4.entity.Goods;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;

public class GoodsVo extends Goods {

    private String goodsTypeName;

    public GoodsVo(String goodsTypeName) {
        this.goodsTypeName = goodsTypeName;
    }

    public GoodsVo(Integer id, String name, Integer price, Date pubdate, Integer typeId, String intro, String picture, Integer flag, Integer deleted, LocalDateTime createTime, String goodsTypeName) {
        super(id, name, price, pubdate, typeId, intro, picture, flag, deleted, createTime);
        this.goodsTypeName = goodsTypeName;
    }
    public GoodsVo() {}

    public String getGoodsTypeName() {
        return goodsTypeName;
    }

    public void setGoodsTypeName(String goodsTypeName) {
        this.goodsTypeName = goodsTypeName;
    }
}
